package com.ocom.common.request.payconfig;



import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
 * @Description: TODO
 * @Author: 朱晖
 * @Date: 2022/8/16
 **/

@Data
public class AddCardInfoVo implements Serializable {

	private static final long serialVersionUID = -7120584699403295582L;
	@NotNull(message = "comId 不能為空")
	private Long comId;
	@NotEmpty(message = "accountNo 不能為空")
	private String accountNo;
	@NotEmpty(message = "cardNo 不能為空")
	private String cardNo;
	private Long deposit;
	@NotEmpty(message = "endDate 不能為空")
	private String endDate;
	private Long costFee;
	@NotNull(message = "pId 不能為空")
	@JsonProperty("pId")
	private Long pId;
	@JsonProperty("deptId")
	private Long deptId;
	@NotNull(message = "accTypeId 不能為空")
	private Long accTypeId;
	@NotEmpty(message = "user 不能為空")
	private String user;

}

